import request from '@/utils/request'
//所有跟role相关的异步请求


//获取角色列表
export  function brandSearch(data) {
    return request({
      url: '/goods/search',
      method: 'post',
      data   //只能是data
    })
  }


//保存角色
export  function Brandsava(data) {
    return request({
      url: '/goods/save',
      method: 'post',
      data   //只能是data
    })
  } 

  // 批量删除文件
  export  function BetchBrand(data) {
    return request({
      url: '/goods/batchBrandIds',
      method: 'post',
      data   //只能是data
    })
  } 
   // 删除文件
   export  function deleteById(data) {
    return request({
      url: '/goods/delete?id='+data,
      method: 'get' 
    })
  } 
